<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>学生个人中心</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />

    <style type="text/css">
        table{
            width: 90%; font-size: 16px;text-align: center;margin: 0 auto;
            border-collapse: separate;border-spacing: 0;border: 2px #e0e0e0;
            margin-top: 20px;
        }
        td {
            border-bottom: 2px solid #eaeaea;
        }
        .tr1{
            background: #efefef;font-size: 14px;height:50px;
        }
        .tr2{
            height: 60px;border-bottom: 2px solid #eaeaea;font-size: 13px;
        }
        p{

            font-size: 18px;
            font-weight: bold;
        }
        a{
            color: #00c0ef;

        }

        h1{
            text-align: center;
        }
        button{
            margin-left: 1115px;
            width: 95px;
            height: 45px;
            border-radius: 5px;
            color: white;
            background-color: #4169E1;
        }

    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
<div th:replace="~{commons/header::header}"></div>

<!-- left -->
<div th:replace="~{commons/studentLeft::left}"></div>
<!-- 内容主体区域 -->

<div class="layui-body">

    <div style="padding: 30px 30px ;"><h1>申请情况</h1>
        <a href="/to_hw_sw_writeApply"><button>填写申请表</button></a>
        <table >
            <thead>
                <tr class="tr1">

                    <th>序号</th>
                    <th>用工批次</th>
                    <th>岗位</th>
                    <th>审核状态</th>
                    <th>提交时间</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr  th:each="stuApplyList:${stuApplyList}" class="tr2">
                    <td th:text="${stuApplyList.getHwaNum()}"></td>
                    <td th:text="${stuApplyList.getBatchTeam()}"> </td>
                    <td th:text="${stuApplyList.getHwaUnit()}"></td>
                    <td th:text="${stuApplyList.getHwaApplyState()}"> </td>
                    <td th:text="${stuApplyList.getHwaSubmitTime()}"> </td>
                    <td>
                        <a th:href="@{'/hw_stu_applyDetail/'+${stuApplyList.getHwaNum()}}">详情</a>

                    </td>
                </tr>

            </tbody>
        </table>

    </div>
</div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>